package com.logisticsrepair.mapper;

import com.logisticsrepair.entity.ApplyMaterialEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author huahua
 * @description 针对表【apply_material(申报材料)】的数据库操作Mapper
 * @createDate 2022-03-30 18:58:39
 * @Entity com.logisticsrepair.entity.ApplyMaterialEntity
 */
public interface ApplyMaterialMapper extends BaseMapper<ApplyMaterialEntity> {


    List<ApplyMaterialEntity> queryOrderMaterialInfo(@Param("orderId") String orderId);

    List<ApplyMaterialEntity> queryUserWaitChargeOrder(@Param("userOpenid") String userOpenid);

    List<ApplyMaterialEntity> queryWaitPayOrderByApplyIds(@Param("applyIds") List<String> applyIds);

    String queryUserOpenidByApplyId(@Param("applyId") String applyId);

}




